<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增OBU升级记录')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-obuupgradelogs-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">记录id：</label>
                <div class="col-sm-8">
                    <input name="recordId" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">操作员：</label>
                <div class="col-sm-8">
                    <input name="operName" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">操作时间：</label>
                <div class="col-sm-8">
                    <input name="operTime" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">服务站号：</label>
                <div class="col-sm-8">
                    <input name="stationCode" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">服务名称：</label>
                <div class="col-sm-8">
                    <input name="stationName" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">手持机编号：</label>
                <div class="col-sm-8">
                    <input name="deviceId" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">obu厂家(0-金溢，1-聚利)：</label>
                <div class="col-sm-8">
                    <input name="obuVendor" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">OBU-MAC：</label>
                <div class="col-sm-8">
                    <input name="obuMac" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">预升级版本：</label>
                <div class="col-sm-8">
                    <input name="preUpgradeVersion" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">当前版本：</label>
                <div class="col-sm-8">
                    <input name="currentVersion" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">OBU-合同序列号：</label>
                <div class="col-sm-8">
                    <input name="obuSn" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">OBU-卡号：</label>
                <div class="col-sm-8">
                    <input name="icNumber" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">App版本：</label>
                <div class="col-sm-8">
                    <input name="appVersion" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">升级状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="upgradeStatus" value="">
                        <label th:for="upgradeStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">升级时间：</label>
                <div class="col-sm-8">
                    <input name="upgradeTime" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "obuupgradelogs/obuupgradelogs"
        $("#form-obuupgradelogs-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-obuupgradelogs-add').serialize());
            }
        }
    </script>
</body>
</html>